<?php
/**
 * Created by .
 * User: luogan
 * Date: 2022/1/17
 */

namespace app\admin\validate;


class AdminLoginLogValidate extends BaseValidate
{
    protected $rule = [
        'id' => 'require|isPositiveInteger',
        'username' => 'max:100',
        'status' => 'require|between:0,1',
        'create_time' => 'dateFormat:Y-m-d H:i:s',
        'page' => 'isPositiveInteger',
        'size' => 'isPositiveInteger',
    ];


    protected $message = [
    ];

    protected $scene = [
        'list' => ['page','size'],
        'info' => ['id'],
    ];
}
